#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"
typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	// struct watchpoint *prev;
	char name[32];
	uint32_t old_val;
	bool active;
	/* DONE: Add more members if necessary */
	uint32_t hits;
	uint32_t hit_times;

} WP;
int watchpoint_display(char *args);
void init_wp_pool();
int watchpoint_set(char *args);
bool test_changed();
// int watchpoint_disable(char *args);
#endif
